using System.Collections.Generic;

namespace Monti.AutoComplete
{
   /// <summary>
   /// Interface for auto complete data provider.
   /// </summary>
   public interface IAutoCompleteDataProvider
   {
      /// <summary>
      /// Gets the list of auto complete items.
      /// </summary>
      /// <param name="filter">Text filter to apply.</param>
      /// <returns>Collection of auto complete items.</returns>
      IEnumerable<string> GetAutoCompleteItems (string filter);
   }
}